package com.xh.jf_blog.service;

import com.xh.jf_blog.bean.Category;
import com.xh.jf_blog.common.util.R;

import java.util.List;

/**
 * @Author PangJunjie
 * @Date 2024/2/1/001
 */
public interface CategoryService {
    R getPage(int page, int limit, Category category);

    Category getById(int categoryId);

    void saveOrUpdate(Category category);

    void deleteById(int categoryId);

    List<Category> getList();

}
